package com.mspbots.common;

/**
 * com.mspbots.common.TriggerEvent
 * <p>
 * event type
 *
 * @author Jason
 * @date 2019/12/17
 **/
public enum TriggerEvent {

    NEW_TENANT("System", "NewTenant"),
    CW_TIMEENTRY_NEW("TimeEntry", "NewTimeEntry"),
    CW_TICKET_NEW("Ticket", "NewTicket"),
    CW_TICKET_CLOSE("Ticket", "TicketClose"),
    CW_TICKET_REJECT("Ticket", "RejectTicket"),
    CW_TICKET_SCHEDULE("Ticket", "ScheduleTicket"),
    CW_TICKET_SCHEDULE_SCHEDULE("Ticket", "Schedule"),
    USER_IDLE("IdleCheck", "IdleTime"),
    ATTENDANCE_SCHEDULE("Attendance", "Schedule"),
    ATTENDANCE_AUTO("Attendance", "Auto"),
    TEAMS_COMMAND("Teams", "TeamsCommand"),
    TEAMS_ESCALATION("Teams", "Escalation"),
    TEAMS_SCHEDULE("Teams", "Schedule"),
    TEAMS_UTILIZATION("Utilization", "EodCheck"),
    TSHEET_TIMES_NEW("Tsheet", "NewTsheet");

    private String scope;
    private String event;

    TriggerEvent(String scope, String eventName) {
        this.scope = scope;
        this.event = eventName;
    }

    public String getEvent() {
        return event;
    }

    public String getScope() {
        return scope;
    }
}
